package com.xuan.shop.service;

import com.xuan.shop.entity.Car;
import com.xuan.shop.vo.CarTypeVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ICarService {
    void save(Car car);
    void deleteById(int id);
    void update(Car car);
    List<Car> findAll();
    List<Car> findAllByBrand(Integer brand);
    List<Car> findAllByCommand();
    List<CarTypeVo> countType();
}
